﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RayTracing
{
    public class AmbientLight : Light
    {
        public Color lightColor;                                    // The color of the ambient light in the theScene.

        public AmbientLight(Color lightColor)
        {
            this.lightColor = lightColor;
        }

        #region Light Members

        public Color illumination(P3 p, SceneObject sceneObj)       // illumination method just returns all of the ambient light.
        {
            return this.lightColor;
        }

        #endregion
    }
}
